<!DOCTYPE html>
<!-- <html> -->
<!-- <html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro"> -->
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
	  xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	登录页面
	<font th:text="${msg}"></font>
	<form action="/login">
		username <input type="text" name="username"><br>
		password <input type="text" name="password" ><br><br>
		  submit <input type="submit" value="submit">
		  
	</form>

<shiro:authenticated name="false">
	  <span>ssss：<span th:text="${msg}"></span></span>
</shiro:authenticated>

	<div ></div>
	<span shiro:authenticated="false" >
    <span>欢迎您：<span th:text="${msg}"></span></span>
	</span>
	<span shiro:hasAnyRoles="admin" >
      <span>欢迎您：<span th:text="${msg}"></span></span>
	</span>
</body>
</html>